﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Windows.WebCam.CapturePixelFormat
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using UnityEngine.Scripting.APIUpdating;

#nullable disable
namespace UnityEngine.Windows.WebCam
{
  /// <summary>
  ///   <para>The encoded image or video pixel format to use for PhotoCapture and VideoCapture.</para>
  /// </summary>
  [MovedFrom("UnityEngine.XR.WSA.WebCam")]
  public enum CapturePixelFormat
  {
    /// <summary>
    ///   <para>8 bits per channel (blue, green, red, and alpha).</para>
    /// </summary>
    BGRA32,
    /// <summary>
    ///   <para>8-bit Y plane followed by an interleaved U/V plane with 2x2 subsampling.</para>
    /// </summary>
    NV12,
    /// <summary>
    ///   <para>Encode photo in JPEG format.</para>
    /// </summary>
    JPEG,
    /// <summary>
    ///   <para>Portable Network Graphics Format.</para>
    /// </summary>
    PNG,
  }
}
